package com.treetao.union.db.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.treetao.union.db.model.base.TTBaseVO;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 购物车
 * </p>
 *
 * @author Dev.M
 * @since 2020-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mall_cart")
public class MallCart extends TTBaseVO<MallCart> {

    private static final long serialVersionUID = 1L;

	private Long refSpuId;
	private Long refSkuId;
	private Long refUserId;
    /**
     * 商品名称
     */
	private String name;
    /**
     * 商品数量
     */
	private Integer num;
    /**
     * 商品售价
     */
	private Double price;
	/**
	 * 选择的规格名称，如：白色/XXL
	 */
	private String attrName;
	/**
	 * 商品图片
	 */
	private String img;

}
